home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / dev / c / PMM.lha / PMM / Developer / LibSrc / CGXVideoBase.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-22  |  335 b   |  18 lines

  1. #include <exec/libraries.h>
  2. #include <proto/exec.h>
  3.  
  4. struct Library *CGXVideoBase = NULL;
  5. extern unsigned long _CGXVideoBaseVer;
  6.  
  7. void _INIT_5_CGXVideoBase()
  8. {
  9.   if (!(CGXVideoBase = OpenLibrary("cgxvideo.library",_CGXVideoBaseVer)))
  10.     exit(20);
  11. }
  12.  
  13. void _EXIT_5_CGXVideoBase()
  14. {
  15.   if (CGXVideoBase)
  16.     CloseLibrary(CGXVideoBase);
  17. }
  18.